﻿using Microsoft.EntityFrameworkCore.Migrations;

#nullable disable

namespace HengTong.DataAccess.Migrations
{
    /// <inheritdoc />
    public partial class 人员档案增加档案年龄和参加工作时间 : Migration
    {
        /// <inheritdoc />
        protected override void Up(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "ArchiveAgeDateFormat",
                table: "SysPerson",
                newName: "ArchiveAgeDate");
        }

        /// <inheritdoc />
        protected override void Down(MigrationBuilder migrationBuilder)
        {
            migrationBuilder.RenameColumn(
                name: "ArchiveAgeDate",
                table: "SysPerson",
                newName: "ArchiveAgeDateFormat");
        }
    }
}
